//
//  WZGOrderCheckReturnNoWorryCell.m
//  ZCJZ
//
//  Created by 潘洪波 on 2019/12/19.
//  Copyright © 2019 jeking. All rights reserved.
//

#import "WZGOrderCheckReturnNoWorryCell.h"
#import "TBCityIconFont.h"

@interface WZGOrderCheckReturnNoWorryCell ()
@property (weak, nonatomic) IBOutlet UIImageView *selectImgV;

//&#xe66d;
@end


@implementation WZGOrderCheckReturnNoWorryCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    [self.selectImgV setImage:[UIImage iconWithInfo:TBCityIconInfoMake(@"\U0000e66d", 17, [generalToolBox getColorWithHexadecimalColorStr:@"0xcccccc"])] ];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setFrame:(CGRect)frame{
    frame.origin.x += 10;
    frame.size.width -= 20;
    [super setFrame:frame];
}

- (void)setChooseAll:(BOOL)chooseAll{
    _chooseAll = chooseAll;
    if (_chooseAll) {
      
        [self.selectImgV setImage:[UIImage iconWithInfo:TBCityIconInfoMake(@"\U0000e70b", 17, [generalToolBox getColorWithHexadecimalColorStr:@"0xF92924")]]];
    }else{
        [self.selectImgV setImage:[UIImage iconWithInfo:TBCityIconInfoMake(@"\U0000e70c", 17, [generalToolBox getColorWithHexadecimalColorStr:@"0xcccccc")]] ];
    }
}

- (IBAction)detailBtnAction:(id)sender {
    if (self.detailClickBlock) {
        self.detailClickBlock();
    }
}
- (IBAction)chooseAllAction:(id)sender {
    if (self.chooseClickBlock) {
        self.chooseClickBlock();
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
